﻿import request from '@/utils/request'

// 查询推广配置列表
export function promotionList(query) {
  return request({
    url: '/promotion/list',
    method: 'get',
    params: query
  })
}


// 新增推广配置列表
export function promotionAdd(query) {
  return request({
    url: '/promotion/add',
    method: 'post',
    data: query
  })
}


// 修改推广配置列表
export function promotionEdit(query) {
  return request({
    url: '/promotion/edit',
    method: 'post',
    data: query
  })
}
